package de.dhbw.tinf11b.vfb;

import java.util.Map;

public class Unit {
	protected String name;
	protected Map<Examination, Integer> examinations; // Liste der Prüfungsleistungen mit zugeordneter Gewichtung

	public Unit(String name, Map<Examination, Integer> examinations) {
		this.name = name;
		this.examinations = examinations;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Map<Examination, Integer> getExaminations() {
		return examinations;
	}

	public void setExaminations(Map<Examination, Integer> examinations) {
		this.examinations = examinations;
	}
}
